Skip to content

Conversation

@kirrg001
Copy link
Contributor

refs https://jsw.ibm.com/browse/INSTA-43861

  • agentHostLookup executes a host check on the actual agent and receives a version back
  • This is part of the agent host lookup mechanmisn.
  • In our test env though, we currently use / for three cases:
    • is instance up?
    • exit span http request in apps
    • normal agent host lookup
  • To be able to add use cases like "delayed agent host lookup response", we have to use two different endpoints
  • "/" = agent host lookup
  • "/ping" = instance up + http example requests in apps

refs https://jsw.ibm.com/browse/INSTA-43861

- `agentHostLookup` executes a host check on the actual agent and receives a version back
- This is part of the agent host lookup mechanmisn.
- In our test env though, we currently use `/` for three cases:
  - is instance up?
  - exit span http request in apps
  - normal agent host lookup
- To be able to add use cases like "delayed agent host lookup response", we have to use two different endpoints
- "/" = agent host lookup
- "/ping" = instance up + http example requests in apps
@kirrg001 kirrg001 force-pushed the test-agent-stub-ping branch from bc2432c to 2366767 Compare November 24, 2025 14:38
@kirrg001 kirrg001 marked this pull request as ready for review November 24, 2025 14:40
@kirrg001 kirrg001 requested a review from a team as a code owner November 24, 2025 14:40
@kirrg001
Copy link
Contributor Author

Extracted from #2152

@kirrg001 kirrg001 merged commit b113e4f into main Nov 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants